Release 10.1A: OpenEdge Development:
Progress 4GL Reference


NOW function

Returns the current system date, time, and time zone as a DATETIME-TZ.

The NOW function returns the system date and time of the client or server machine that serves as the time source for applications running during the OpenEdge session (specified by the TIME-SOURCE attribute).

Syntax

NOW 

Example

Following is an example of using the NOW function:

DEF VAR v-datetime as DATETIME. 
DEF VAR v-datetime-tz as DATETIME-TZ. 
v-datetime = NOW. 
v-datetime-tz = NOW. 

See also

DATE function, DATE-FORMAT attribute, DATETIME function, DATETIME-TZ function, DAY function, ETIME function, ISO-DATE function, MONTH function, MTIME function, TIME function, TIME-SOURCE attribute, TIMEZONE function, TODAY function, WEEKDAY function, YEAR function, YEAR-OFFSET attribute


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095